<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<!-- 아래 스타일은 전자정부 프레임워크의 샘플 CSS를 이용한다는 것입니다. -->
<link type="text/css" rel="stylesheet" href="/KnowledgeBank/css/egovframework/sample.css;jsessionid=5D98BFB8E6ECEB0969759AD8461FBD0C"/>

<script type="text/javascript">

	function registBoard() {
		var frm = document.forms.addBoardForm;
		
		frm.action = '<c:url value="/Action/addBoard.do" />';
		frm.submit();
	}

</script>

<form name='addBoardForm' method='post'>

<div id="content_pop">
	<!-- 타이틀 -->
	<div id="title">
		<ul>
			<li><img src="<c:url value='/images/egovframework/rte/title_dot.gif'/>"> 요청게시판등록 </li>
		</ul>
	</div>

	<div id="table" style='text-align:center;'>
		<br/>
		<table width="500px" border="1" cellpadding="0" cellspacing="0">
			<colgroup>
				<col width="150" />
				<col width="" />
			</colgroup>
			<tr>
				<th>제목</th>
				<td colspan="3">
					<input type="text" name='qb_title'/>
				</td>
			</tr>
			<tr>
				<th>작성자</th>
				<td>
					<input type="text" name='u_id' />
				</td>
				<th>음식명</th>
				<td>
					<input type="text" name='qb_launch'/>
				</td>
			</tr>
			<tr>
				<th>음식점명</th>
				<td>
					<input type="text" name='qb_shop' />
				</td>
				<th>가격</th>
				<td>
					<input type="text" name='qb_price' />
				</td>
			</tr>
			<tr>
				<th>주소</th>
				<td colspan="3">
					<input type="text" name='qb_address' />
				</td>
			</tr>
			<tr>
				<th>첨부파일</th>
				<td colspan="3">
					<input type="text" name='file_name' />
				</td>
			</tr>
			<tr>
				<th>내용</th>
				<td colspan="3">
					<input type="text" name='qb_content' />
				</td>
			</tr>
		</table>
		<br/>
	</div>
	<div style='text-align:center'>
		<input type="button" value='게시판 등록하기' onclick='registBoard();'/>
	</div>
</div>
</form>